#include <stdio.h>
#include "globals.h"
#include "solveF1Commands.h"
#include "string.h"

void solveF1Command(unsigned char* buf){

    unsigned char cont=0;
    unsigned char t_command[6];

    // Is that a command ?
    if(buf[0]=='$'){
        strncpy(t_command,buf,6);
        if(!strcmp(t_command,F1COMMAND_VARIO)) {
            printf("------ VARIO COMMAND ------ \n");
            while(buf[cont]!='\n'){
                printf("%c",buf[cont]);
                cont++;
            }
            printf("\n");

        }
    }



}